#define _CRT_SECURE_NO_WARNINGS 1
#include "QuickSort.h"

int main()
{
	int a[10] = { 6, 1, 2, 7, 9, 3, 4, 5, 10, 8 };
	QuickSort(a, 0, sizeof(a)/sizeof(a[0]) - 1);


	//PartSort2(a, 0, sizeof(a) / sizeof(a[0]) - 1);
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");
	return 0;
}